import { http, jumpExport } from '@/utils/http/axios';

// 获取天使列表
export function List(params) {
  return http.request({
    url: '/hgexample/epRecycler/list',
    method: 'get',
    params,
  });
}

// 删除/批量删除天使
export function Delete(params) {
  return http.request({
    url: '/hgexample/epRecycler/delete',
    method: 'POST',
    params,
  });
}

// 添加/编辑天使
export function Edit(params) {
  return http.request({
    url: '/hgexample/epRecycler/edit',
    method: 'POST',
    params,
  });
}

// 修改天使状态
export function Status(params) {
  return http.request({
    url: '/hgexample/epRecycler/status',
    method: 'POST',
    params,
  });
}

// 获取天使指定详情
export function View(params) {
  return http.request({
    url: '/hgexample/epRecycler/view',
    method: 'GET',
    params,
  });
}

// 导出天使
export function Export(params) {
  jumpExport('/hgexample/epRecycler/export', params);
}